package com.loan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.loan.entity.Application;
import com.loan.vo.ApplyVO;

import java.util.List;

public interface ApplicationService extends IService<Application> {
    /**
     * 插入申请表数据
     * @param application 申请表信息
     * @param empId 提交申请表的员工id
     * @return
     */
    public boolean insert(Application application,Integer empId);

    /**
     * 条件查询,带出所有相关信息
     * @return
     */
    List<Application> findByCondition(Application application);

    /**
     * 申请审核
     * @param applyVO
     */
    void examine(ApplyVO applyVO);
}
